﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;

namespace map.member
{
    public partial class designshop_gonggao : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bind1();
            }
        }
        private void bind1()
        {
            cbshop s = cbshop.Find(" cbuserid = '" + AliApi.appUserId + "'");
            this.Fck_Content.Value = Server.HtmlDecode(s.cbshopdesc.ToString());
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            cbshop s = cbshop.Find(" cbuserid = '" + AliApi.appUserId + "'");
            s.shopgonggao.Value = this.Fck_Content.Value;
            s.Modify();
            MessageBox.Show(this.Page, "提交成功");
        }
    }
}
